#!/usr/bin/python
# author Yu
# 2023年06月14日
def bitmap(mylist):
    bit=0
    result=[]
    for i in mylist:
        if bit&1<<i:
            pass
        else:
            bit=bit|1<<i
            result.append(i)
    return result
my_list=[95, 17, 3, 31, 86, 75, 56, 19, 38, 26,
           94, 54, 53, 72, 59, 61, 74, 58, 78, 60,
           64, 43, 52, 90, 84, 19, 92, 2, 71, 12,
           67, 10, 53, 85, 98, 24, 11, 41, 44, 55,
           10, 47, 43, 98, 9, 55, 18, 30, 44, 22,
           48, 15, 87, 28, 47, 18, 92, 3, 38, 87, 59,
           84, 76, 65, 82, 26, 47, 52, 58, 79, 50, 82,
           5, 71, 28, 30, 17, 51, 11, 58, 12, 54, 49, 73,
           24, 46, 99, 94, 93, 70, 12, 33, 19, 67, 62, 74, 61, 89, 91, 51]
a=bitmap(my_list)
print(a)